package cn.kgc.springmvc.day02.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author 课工场
 * @date 2024/5/6
 * @description   统一响应结果
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class ResponseResult {

    // 状态码   0  110  500
    private Integer code;
    // 提示信息
    private String message;
    // 响应数据
    private Object data;

}
